Preventing Internet Of Things Attacks